package com.ruoyi.wss.dahua.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
public class CommonRequest<T> implements Serializable {

    @JsonProperty("cmdType")
    private String cmdType;

    @JsonProperty("sn")
    private Integer sn;

    @JsonProperty("data")
    private RequestData<T> data;
}
